package shop.services.common;

import shop.core.common.dao.page.PagerModel;

import java.math.BigDecimal;

/**
*订单
*/
public class Order extends PagerModel {
    //订单id
    private String id;
    //用户id
    private String userID;
    //订单状态(init:待付款，pass:待发货,send:待收货，finish:已完成，cancel:已取消)
    private String status;
    //订单类型("order"购买商品、"rank"购买会员)
    private String type;
    //订单总价
    private BigDecimal ptotal;
    //备注
    private String remark;
    //收货人姓名
    private String addressName;
    //收货人手机号码
    private String addressPhone;
    //收货人地区信息
    private String addressArea;
    //收货人详细地址
    private String addressDetail;
    //快递公司
    private String expressCompany;
    //快递单号
    private String expressNum;
    //发货人
    private String consigner;
    //邮编
    private String zip;
    //联系人姓名（购买会员用）
    private String contactName;
    //联系人电话（购买会员用）
    private String contactNumber;
    //支付方式（online线上支付、offline线下支付；购买会员用）
    private String payType;
    //用户升级方式（1购买会员、2升级会员；购买会员用）
    private String transType;
    //用户升级原会员等级(购买会员用)
    private String oldRankType;
    //用户升级现会员等级(购买会员用)
    private String rankType;
    //奖金是否支出(购买会员用)
    private String affMoneyStatus;
    //审核状态(init未审核、pass通过、noPass不通过;购买会员用)
    private String checkStatus;
    //用户上级ID
    private String pid;
    //创建时间
    private String createTime;
    //创建者
    private Integer createUser;
    //更新次数
    private String updateTime;
    //更新者
    private Integer updateUser;

    public void setId(String id){
        this.id = id;
    }

    public String getId(){
        return this.id;
    }

    public void setUserID(String userID){
        this.userID = userID;
    }

    public String getUserID(){
        return this.userID;
    }

    public void setStatus(String status){
        this.status = status;
    }

    public String getStatus(){
        return this.status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setPtotal(BigDecimal ptotal){
        this.ptotal = ptotal;
    }

    public BigDecimal getPtotal(){
        return this.ptotal;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAddressName() {
        return addressName;
    }

    public void setAddressName(String addressName) {
        this.addressName = addressName;
    }

    public String getZip() {
        return zip;
    }

    public void setZip(String zip) {
        this.zip = zip;
    }

    public String getAddressPhone() {
        return addressPhone;
    }

    public void setAddressPhone(String addressPhone) {
        this.addressPhone = addressPhone;
    }

    public String getAddressArea() {
        return addressArea;
    }

    public void setAddressArea(String addressArea) {
        this.addressArea = addressArea;
    }

    public String getAddressDetail() {
        return addressDetail;
    }

    public void setAddressDetail(String addressDetail) {
        this.addressDetail = addressDetail;
    }

    public String getExpressCompany() {
        return expressCompany;
    }

    public void setExpressCompany(String expressCompany) {
        this.expressCompany = expressCompany;
    }

    public String getConsigner() {
        return consigner;
    }

    public void setConsigner(String consigner) {
        this.consigner = consigner;
    }

    public String getExpressNum() {
        return expressNum;
    }

    public void setExpressNum(String expressNum) {
        this.expressNum = expressNum;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactNumber() {
        return contactNumber;
    }

    public void setContactNumber(String contactNumber) {
        this.contactNumber = contactNumber;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getTransType() {
        return transType;
    }

    public void setTransType(String transType) {
        this.transType = transType;
    }

    public String getOldRankType() {
        return oldRankType;
    }

    public void setOldRankType(String oldRankType) {
        this.oldRankType = oldRankType;
    }

    public String getRankType() {
        return rankType;
    }

    public void setRankType(String rankType) {
        this.rankType = rankType;
    }

    public String getAffMoneyStatus() {
        return affMoneyStatus;
    }

    public void setAffMoneyStatus(String affMoneyStatus) {
        this.affMoneyStatus = affMoneyStatus;
    }

    public String getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(String checkStatus) {
        this.checkStatus = checkStatus;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public void setCreateTime(String createTime){
        this.createTime = createTime;
    }

    public String getCreateTime(){
        return this.createTime;
    }

    public void setCreateUser(Integer createUser){
        this.createUser = createUser;
    }

    public Integer getCreateUser(){
        return this.createUser;
    }

    public void setUpdateTime(String updateTime){
        this.updateTime = updateTime;
    }

    public String getUpdateTime(){
        return this.updateTime;
    }

    public void setUpdateUser(Integer updateUser){
        this.updateUser = updateUser;
    }

    public Integer getUpdateUser(){
        return this.updateUser;
    }

}
